package com.inossem.warehousestorage_inossem.bean.outStorage;

import com.inossem.warehousestorage_inossem.bean.common.Bean;

import java.util.List;

/**
 * Created by leij on 2017/7/3.
 */

public class OutStorageSaleOverviewBean extends Bean {


    /**
     * code : 200
     * msg : 公共响应信息
     * data : {"saleNumber":"LLD12345678901","customerName":"宝鸡有一群怀揣着梦想的少年相信在牛大叔的带领下可以创业成功有限公司","createDate":"2017-07-08","saleType":"国内销售订单","saleOrganizationCode":"1000","saleOrganizationValue":"伊泰采购组织","salespersonCode":"100","salespersonValue":"张三","creator":"李四","contractCode":"2017XS900F001","contractDescription":"销售合同描述","isFocus":"0","isFocusBatch":"0","werks":"工厂","materielList":[{"serial":"001","materielCode":"WLBM12345678901","materielDescription":"物料描述物料描述物料描述物料描述物料描述物料描述物料描述物料描述1","canSendNumber":"200","unit":"套","inventoryAddressCode":"1000","inventoryAddressValue":"电缆库"},{"serial":"002","materielCode":"WLBM12345678902","materielDescription":"物料描述物料描述物料描述物料描述物料描述物料描述物料描述物料描述2","canSendNumber":"200","unit":"套","inventoryAddressCode":"2000","inventoryAddressValue":"车床库"}]}
     */

    private String code;
    private String msg;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * saleNumber : LLD12345678901
         * customerName : 宝鸡有一群怀揣着梦想的少年相信在牛大叔的带领下可以创业成功有限公司
         * createDate : 2017-07-08
         * saleType : 国内销售订单
         * saleOrganizationCode : 1000
         * saleOrganizationValue : 伊泰采购组织
         * salespersonCode : 100
         * salespersonValue : 张三
         * creator : 李四
         * contractCode : 2017XS900F001
         * contractDescription : 销售合同描述
         * isFocus : 0
         * isFocusBatch : 0
         * werks : 工厂
         * materielList : [{"serial":"001","materielCode":"WLBM12345678901","materielDescription":"物料描述物料描述物料描述物料描述物料描述物料描述物料描述物料描述1","canSendNumber":"200","unit":"套","inventoryAddressCode":"1000","inventoryAddressValue":"电缆库"},{"serial":"002","materielCode":"WLBM12345678902","materielDescription":"物料描述物料描述物料描述物料描述物料描述物料描述物料描述物料描述2","canSendNumber":"200","unit":"套","inventoryAddressCode":"2000","inventoryAddressValue":"车床库"}]
         */

        private String saleNumber;
        private String customerName;
        private String createDate;
        private String saleType;
        private String saleOrganizationCode;
        private String saleOrganizationValue;
        //        private String salespersonCode;
//        private String salespersonValue;
//        private String creator;
        private String contractCode;
        //        private String contractDescription;
        private String isFocus;
        private String outStorageNumber;
        private List<OperatorListBean> operatorList;
        private List<MaterielListBean> materielList;

        public String getOutStorageNumber() {
            return outStorageNumber;
        }

        public void setOutStorageNumber(String outStorageNumber) {
            this.outStorageNumber = outStorageNumber;
        }

        public String getSaleNumber() {
            return saleNumber;
        }

        public void setSaleNumber(String saleNumber) {
            this.saleNumber = saleNumber;
        }

        public String getCustomerName() {
            return customerName;
        }

        public void setCustomerName(String customerName) {
            this.customerName = customerName;
        }

        public String getCreateDate() {
            return createDate;
        }

        public void setCreateDate(String createDate) {
            this.createDate = createDate;
        }

        public String getSaleType() {
            return saleType;
        }

        public void setSaleType(String saleType) {
            this.saleType = saleType;
        }

        public String getSaleOrganizationCode() {
            return saleOrganizationCode;
        }

        public void setSaleOrganizationCode(String saleOrganizationCode) {
            this.saleOrganizationCode = saleOrganizationCode;
        }

        public String getSaleOrganizationValue() {
            return saleOrganizationValue;
        }

        public void setSaleOrganizationValue(String saleOrganizationValue) {
            this.saleOrganizationValue = saleOrganizationValue;
        }

//        public String getSalespersonCode() {
//            return salespersonCode;
//        }
//
//        public void setSalespersonCode(String salespersonCode) {
//            this.salespersonCode = salespersonCode;
//        }
//
//        public String getSalespersonValue() {
//            return salespersonValue;
//        }
//
//        public void setSalespersonValue(String salespersonValue) {
//            this.salespersonValue = salespersonValue;
//        }
//
//        public String getCreator() {
//            return creator;
//        }
//
//        public void setCreator(String creator) {
//            this.creator = creator;
//        }

        public String getContractCode() {
            return contractCode;
        }

        public void setContractCode(String contractCode) {
            this.contractCode = contractCode;
        }

//        public String getContractDescription() {
//            return contractDescription;
//        }
//
//        public void setContractDescription(String contractDescription) {
//            this.contractDescription = contractDescription;
//        }

        public String getIsFocus() {
            return isFocus;
        }

        public void setIsFocus(String isFocus) {
            this.isFocus = isFocus;
        }

        public List<OperatorListBean> getOperatorList() {
            return operatorList;
        }

        public void setOperatorList(List<OperatorListBean> operatorList) {
            this.operatorList = operatorList;
        }

        public List<MaterielListBean> getMaterielList() {
            return materielList;
        }

        public void setMaterielList(List<MaterielListBean> materielList) {
            this.materielList = materielList;
        }

        public static class OperatorListBean {
            /**
             * id : 11111111
             * name : 张三
             * department : 部门部门部门部门部门部门部门部门部门部门部门部门部门部门部门部门
             * auditDate : 2017-02-09
             */

            private String id;
            private String name;
            private String department;
            private String auditDate;
            private String roleName;
            private String roleCode;
            private String phone;

            public String getRoleName() {
                return roleName;
            }

            public void setRoleName(String roleName) {
                this.roleName = roleName;
            }

            public String getRoleCode() {
                return roleCode;
            }

            public void setRoleCode(String roleCode) {
                this.roleCode = roleCode;
            }

            public String getPhone() {
                return phone;
            }

            public void setPhone(String phone) {
                this.phone = phone;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getDepartment() {
                return department;
            }

            public void setDepartment(String department) {
                this.department = department;
            }

            public String getAuditDate() {
                return auditDate;
            }

            public void setAuditDate(String auditDate) {
                this.auditDate = auditDate;
            }
        }

        public static class MaterielListBean {
            /**
             * serial : 001
             * materielCode : WLBM12345678901
             * materielDescription : 物料描述物料描述物料描述物料描述物料描述物料描述物料描述物料描述1
             * canSendNumber : 200
             * unit : 套
             * inventoryAddressCode : 1000
             * inventoryAddressValue : 电缆库
             */

            private String serial;
            private String materielCode;
            private String materielDescription;
            private String canSendNumber;
            private String actualSendNumber;
            private String unit;
            private String isFocusBatch;
            private String inventoryAddressCode;
            private String inventoryAddressValue;
            private String factoryCode;
            private List<OutStoragePickingBatchListBean.DataBean.BatchListBean> batchList;

            public String getIsFocusBatch() {
                return isFocusBatch;
            }

            public void setIsFocusBatch(String isFocusBatch) {
                this.isFocusBatch = isFocusBatch;
            }

            public String getFactoryCode() {
                return factoryCode;
            }

            public void setFactoryCode(String factoryCode) {
                this.factoryCode = factoryCode;
            }

            public String getActualSendNumber() {
                return actualSendNumber;
            }

            public void setActualSendNumber(String actualSendNumber) {
                this.actualSendNumber = actualSendNumber;
            }

            public List<OutStoragePickingBatchListBean.DataBean.BatchListBean> getBatchList() {
                return batchList;
            }

            public void setBatchList(List<OutStoragePickingBatchListBean.DataBean.BatchListBean> batchList) {
                this.batchList = batchList;
            }

            public String getSerial() {
                return serial;
            }

            public void setSerial(String serial) {
                this.serial = serial;
            }

            public String getMaterielCode() {
                return materielCode;
            }

            public void setMaterielCode(String materielCode) {
                this.materielCode = materielCode;
            }

            public String getMaterielDescription() {
                return materielDescription;
            }

            public void setMaterielDescription(String materielDescription) {
                this.materielDescription = materielDescription;
            }

            public String getCanSendNumber() {
                return canSendNumber;
            }

            public void setCanSendNumber(String canSendNumber) {
                this.canSendNumber = canSendNumber;
            }

            public String getUnit() {
                return unit;
            }

            public void setUnit(String unit) {
                this.unit = unit;
            }

            public String getInventoryAddressCode() {
                return inventoryAddressCode;
            }

            public void setInventoryAddressCode(String inventoryAddressCode) {
                this.inventoryAddressCode = inventoryAddressCode;
            }

            public String getInventoryAddressValue() {
                return inventoryAddressValue;
            }

            public void setInventoryAddressValue(String inventoryAddressValue) {
                this.inventoryAddressValue = inventoryAddressValue;
            }
        }
    }
}
